package com.cxx.purchasecharge.dal.auditlog;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.cxx.purchasecharge.core.model.persistence.auditlog.LogContent;
import com.cxx.purchasecharge.dal.common.GenericCRUDDao;

@Transactional
public interface LogContentDao extends GenericCRUDDao <LogContent, Long>
{

    @Query (value = "select lc from LogContent lc where lc.log.id=?1")
    public List <LogContent> findByLog (long logId);

}
